		
$("#testTrip").button();

$("#testTrip").click(function() {
	test_showTrip();
});

function test_showTrip() {
	var jTrip = {"id":1234, 
			"userId":5678, 
			"title":"tripNo1", 
			"notes":"bla", 
			"notScheduledYetAttractions":[{"id":1, "title":"USatt1"},
										  {"id":2, "title":"USatt2"},
										  {"id":3, "title":"USatt3"},
										  {"id":4, "title":"USatt4"},
										  {"id":5, "title":"USatt5"},
										  {"id":6, "title":"USatt6"},
										  {"id":7, "title":"USatt7"},
										  {"id":8, "title":"USatt8"}],
			"scheduleAttractions": [{"id":1, "attrId": 222, "title":"Satt1", "date":"13/03/2012"},
									{"id":2, "attrId": 222, "title":"Satt2", "date":"13/03/2012"},
									{"id":3, "attrId": 222, "title":"Satt3", "date":"14/03/2012"},
									{"id":4, "attrId": 222, "title":"Satt4", "date":"12/03/2012"},
									{"id":5, "attrId": 222, "title":"Satt5", "date":"13/03/2012"},
									{"id":6, "attrId": 222, "title":"Satt6", "date":"13/03/2012"},
									{"id":7, "attrId": 222, "title":"Satt7", "date":"14/03/2012"},
									{"id":8, "attrId": 222, "title":"Satt8", "date":"12/03/2012"},
									{"id":9, "attrId": 222, "title":"Satt9", "date":"13/03/2012"},
									{"id":10, "attrId": 222, "title":"Satt10", "date":"13/03/2012"},
									{"id":11, "attrId": 222, "title":"Satt11", "date":"14/03/2012"},
									{"id":12, "attrId": 222, "title":"Satt12", "date":"14/03/2012"}], 
				"numOfDays":3, 
				"start":"12/03/2012", 
				"end":"14/03/2012", 
				"createdOn":"08/01/2012", 
				"lastModifiedOn":"09/01/2012"
					};
	showTrip(jTrip);
}
	
	